package link.luyu.demo.port.db;

import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;

public interface LuyuHashLockTableJPA extends JpaRepository<LuyuHashLockTableBean, String> {
    List<LuyuHashLockTableBean> findByCargoId(String cargoId);

    List<LuyuHashLockTableBean> findByFromChainPathAndStatus(String fromChainPath, String status);

    List<LuyuHashLockTableBean> findByToChainPathAndStatus(String toChainPath, String status);
}
